﻿using METTest;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HelloAttribute
{
    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class HelloWordAttribute : ExportAttribute
    {
        public HelloWordAttribute() : base(typeof(IHelloWord)) { }
        public HelloTransport Transport { get; set; }
        [DefaultValue(false)]
        public bool IsSecure { get; set; }
    }

    public enum HelloTransport
    {
        Undefined,
        Smtp,
        PhoneNetwork,
        Other
    }
}
